#define menu()
    <div class="layui-container">
        <a class="fly-logo" href="/"><img src="/static/images/logo.png" alt="拾光分享网"></a>
        <ul class="layui-nav fly-nav layui-hide-xs" lay-filter="">
            <li class="layui-nav-item" style="margin-left: 140px;">
                <a href="/">首页</a>
            </li>
            <li class="layui-nav-item">
                <a href="/vipBuy">VIP获取</a>
            </li>
            <span class="layui-nav-bar" style="left: 470px; top: 55px; width: 0px; opacity: 0;">
            </span>
        </ul>
        
        <ul class="layui-nav fly-nav-user">
	       	#if(LoginUserCache)
	       	
			    <li class="layui-nav-item" style="float: right;">
			           <a> 
			            <img class="layui-nav-img" src="/upload/avatar/#(LoginUserCache.image_name)">#(LoginUserCache.username)
			            <span class="layui-nav-more"></span>
			        	</a>
			        <dl class="layui-nav-child layui-anim layui-anim-upbit">
			             <dd><a href="/user/userSetPersonal">修改密码</a></dd>
	              	     <dd><a href="/user/userSetPersonal">修改头像</a></dd>
	               		 <dd><a href="/user/logout">安全退出</a></dd>
			        </dl>
			    </li>
			    <li class="layui-nav-item">
			        <a href="/user/userWelcome">个人中心
			            <span class="layui-badge-dot"></span>
			        </a>
			    </li>
			    
			#else
	            <li class="layui-nav-item">
	                <a href="/user/login" >登录</a>
	            </li>
	            <li class="layui-nav-item">
	                <a href="/user/regester">注册</a>
	            </li>
	            <span class="layui-nav-bar" style="left: 0px; top: 55px; width: 0px; opacity: 0;"></span>
	       	#end
        </ul>
    </div>

#end